package com.admin.service;

import com.admin.entity.AdminRole;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author marisheng
 * @since 2019-11-21
 */
public interface IAdminRoleService extends IService<AdminRole> {

    IPage findRoleByAdmin(int page, int size, String text);


    Map adminRoleSave(String adminId, String roleId);

    int adminRoleDel(String adminRoleId);


    List<Map> findAllRole();
}
